package com.tracesystem.controller.form;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

/**
 * 添加缺陷优先级的类Form
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AddPriorityForm {

    //缺陷优先级的id
    private Integer priorityCode;
    //缺陷优先级的分类
    @Length(min = 1,max = 20)
    private String priorityDesc;
    //缺陷优先级的状态
    @Length(min = 1,max = 20)
    private String moduleState;
}
